package cn.jiyun.manage.product.feign;

import cn.jiyun.model.ProductGuige;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("aiqi-product-admin-web-guige")
public interface ProductGuigeFeign {

    @GetMapping("/api/guige/findGuigefeign1")
    public List<ProductGuige> findGuigefeign1();
    @GetMapping("/api/guige/findBeanByid/{id}")
    public List<ProductGuige> findBeanByid(@PathVariable("id") Integer id);
}
